﻿using GKQC.Common;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GKQC.DbHelper.DbModels
{
    [SugarTable("t_sys_file")]
    public class AttachmentModel
    {
        /// <summary>
        /// 流水号
        /// </summary>	
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 账套
        /// </summary>
        public string Account { get; set; } = string.Empty;
        public string FormCode { get; set; } = string.Empty;
        public string BillNo { get; set; } = string.Empty;
        public long BillId { get; set; }
        public string FileName { get; set; } = string.Empty;
        /// <summary>
        /// 上传时用的
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string FileFullName { get; set; } = string.Empty;

        public int SNo { get; set; }
        public string Remark { get; set; } = string.Empty;
    }
}
